export const authority = {
  // 权限管理
  '/admin': {
    path: '/access',
    component: () => import('@/views/pages/access/index'),
    redirect: '/access/menu',
    alwaysShow: true, // will always show the root menu
    name: 'Access',
    meta: {
      icon: 'sec-icon-suoding'
    }
  },
  // 用户管理
  '/admin/user/index': {
    path: 'user',
    component: () => import('@/views/pages/access/user'),
    name: 'accessUser',
    meta: {
      icon: ''
    }
  },
  // 菜单管理
  '/admin/menu/index': {
    path: 'menu',
    component: () => import('@/views/pages/access/menu'),
    name: 'accessMenu',
    meta: {
      icon: ''
    }
  },
  // 角色管理
  '/admin/role/index': {
    path: 'role',
    component: () => import('@/views/pages/access/role'),
    name: 'accessRole',
    meta: {
      icon: ''
    }
  },
  // 部门管理
  '/admin/dept/index': {
    path: 'department',
    component: () => import('@/views/pages/access/department'),
    name: 'accessDepartment',
    meta: {
      icon: ''
    }
  }
}
